package com.umfwechat.common.constant;


/*************************************************************************
 *desc : 缓存相关常量类
 *class : CacheConsts
 *@author :  ren jie
 *@version :  1.0  
 *description :  用于记录与缓存有关的常量类（缓存key）
 *@see :                        
 *************************************************************************/
public class CacheConsts {
	/**
	 * 1.公共配置
	 */
	
	/**
	 * 2. 业务功能配置
	 * ps：添加需标明功能序数，作者，起始与结束
	 */
	//【2.1】liuchunyan start
	public static final String WX = "saaswx"; //微信redisKey前缀
	public static final String SAASWX = "saaswx";
	public static final String MONTHBILL = "monthBill"; //月账单
	public static final String BILLDETAIL = "billDetail"; //账单明细
	public static final String SAASWXOPENEDACCOUNT = SAASWX + "openedAccount" + PropertyConsts.FUNDNO; //已开户saaswxopenedAccount000588
	//【2.1】liuchunyan end
	
	//chensisi start 
	public static final String SETTLEMENT = "settlement";//结算列表
	//chensisi end 
	public static final String TICKET_QR_CODE = "ticketQrCode";
	
	public static final String ACCESS = "access";
	public static final String ACCESSTIME = "accesstime";
	public static final String JSAPI_TICKET = "jsapi_ticket";	
	//公众号收款人邀请二维码Url
	public static final String SAASWXTICKETURL = SAASWX + "ticketUrl";
	/**
	 * 3.其他配置
	 */
	/**
	 * @author llb
	 */
	public static final String REDIS_QRCODE = "redisQrcode"; //小程序生产公众号二维码字符串常量
	public static final String LOGIN = "login"; //登陆字符串常量
	public static final int session_time = 30 * 24 * 60 * 60; //登陆后缓存信息的有效时间30 * 24 * 60 * 60
	public static final String ISFORBIDDEN = "isForbidden"; //登录是否被禁用
	public static final String PERMISSIONCONF = "permissionConf";
	
	/**
	 * 基金接入
	 */
	//缓存中获取总资产显示状态（amtDisStatus + 基金商户号 + 商户编号）
	public static String AMTDISSTATUS = CacheConsts.SAASWXOPENEDACCOUNT + CommonConsts.AMTDISSTATUS + "merId";
	//缓存收益列表（incomeDetail + 基金商户号 + 商户编号 + yyyyMM）
	public static String INCOMEDETAIL =  CacheConsts.SAASWXOPENEDACCOUNT + CommonConsts.FUNDINCOME + "merId" + "yyyyMM";

	/**
	 * 基金
	 */
	public static final String ANNUALRATE = "annualRate";
	public static final String MINSUBSCRIBAMOUNT = "minSubscribAmount";
	public static final String ANNUALRATEEARNINGSLIST = "annualRateEarningsList";
	public static final String LINECHARTLIST = "lineChartList";//折线图
	public static final String YESTERDAY = "yesterday";
	public static final String CUMULATIVESUM = "cumulativeSum";//基金累计交易额
	public static final String STROKECOUNT = "strokeCount";//基金累计总笔数
	public static final String TWOMONTH = "twoMonth";//两个月
	public static final String SEVENDAY = "sevenDay";//七天
	public static final String ONEMONTH = "oneMonth";//一个月
	public static final String THREEMONTH = "threeMonth";//三个月
	
	
}

